package com.aaa.entity;

public class Menu {
    private Integer mid;
    private String name;
    private Integer son;
    private String url;
    private Integer state;

    public Menu() {
    }

    public Menu(Integer mid, String name, Integer son, String url, Integer state) {
        this.mid = mid;
        this.name = name;
        this.son = son;
        this.url = url;
        this.state = state;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSon() {
        return son;
    }

    public void setSon(Integer son) {
        this.son = son;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "mid=" + mid +
                ", name='" + name + '\'' +
                ", son=" + son +
                ", url='" + url + '\'' +
                ", state=" + state +
                '}';
    }
}
